
<div id="content-header">
    <div id="breadcrumb"> 
    	<a href="#" title="Go to Home" class="tip-bottom">
    		<i class="icon-home"></i> 人事行政</a> 
    		<a ui-sref="home.census" class="current">人员统计
    	</a> 
    </div>
  </div>
  <div class="col-sm-12 col-md-5" style="padding-top: 50px;width: 100%	;">
	<!--<div class="dt-buttons btn-group">
		<a class="btn btn-success buttons-excel buttons-html5" tabindex="0" aria-controls="datatable-buttons" href="#"><span>Excel</span></a>
		<a class="btn btn-danger buttons-pdf buttons-html5" tabindex="0" aria-controls="datatable-buttons" href="#"><span>PDF</span></a>
	</div>-->
	<button ng-click="execl()" class="btn  btn-primary btnheight">导出</button>
	<div class="col-md-13">
		<div id="datatable-buttons_filter" class="dataTables_filter" >
			<label style="float: left;">
				<select-home item-array="serviceDic"  selected="add.status" value="slect"></select-url>
			</label>
			<label style="float: left;">
				<input type="search" ng-model="key" class="form-control inputweight" 
					placeholder="" aria-controls="datatable-buttons">
					<button  class="btn  btn-primary btnheight btn-inquiry" ng-click="search(pageNum)">查询</button>
			</label>
		</div>
	</div>
</div>
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
 
		<div class="widget-box">
          <div class="widget-content nopadding">
            <table class="table table-bordered data-table">
              <thead>
                <tr>
                  <th width="10%">姓名</th>
                  <th width="10%">手机号</th>
                  <th width="10%">邮箱</th>
                  <th width="10%">部门</th>
                  <th width="10%">岗位</th>
                  <th width="10%">入职年限</th>
                  <th width="10%">岗位年限</th>
                  <th width="10%">年龄</th>
                  <th width="10%">在职状态</th>
                </tr>
              </thead>
              <tbody>
                <tr class="gradeX" bindonce ng-repeat="o in list">
                  <td bo-text="o.name"></td>
                  <td bo-text="o.telephone"></td>
                  <td bo-text="o.email"></td>
                   <td bo-text="o.departmentName"></td>
                  <td bo-text="o.position"></td>
                  <td bo-text="o.entryTimeGW|year"></td>
                  <td bo-text="o.ageIndex|year"></td>
                  <td bo-text="o.age|age"></td>
                  <td bo-text="o.status"></td>
                </tr>
                 <tr class="gradeX"  ng-if="totalSize==0||totalSize==undefined"  class="even">
	            	<td colspan="10"> 暂无数据</td>
	           	</tr>
              </tbody>
            </table>
            
           
          </div>
        </div>
         <div class="fy" ng-if="totalSize>0">
									<p>共<span>{{totalSize}}</span>条记录，<span>{{pageNum}}</span>/<span>{{totalNum}}</span>页</p>
									<ul uib-pagination 
										first-text="首页" 
										last-text='末页' 
										next-text='下一页' 
										previous-text='上一页' 
										total-items="totalSize" 
										items-per-page='pageSize' 
										boundary-link-numbers='true' 
										max-size='3' boundary-links='true' 
										ng-model="$parent.tj.current" 
										ng-change='search(tj.current)'>
									</ul>
									<p>到第<input placeholder="{{pageNum}}" ng-change="pageUp()" ng-model="$parent.tj.page" />页</p>
									<span ng-click="toPage($parent.tj.page)">前往</span>
			</div>
					
      </div>
    </div>
    <div class="row-fluid">
      <div class="span12">
 
		<div class="widget-box">
          <div class="widget-content nopadding">
             <div class="row">
	        <div class="col-md-6">
	               <div class="card-boxs" style="height: 820px!important">
	                <h4 class="header-title m-t-0 m-b-30">部门人员统计</h4>
	                  <!-- <ng-echarts class="col-md-12 echarts" ec-config="lineConfig" ec-option="lineOption" ></ng-echarts>-->
					<table class="table table-bordered data-table">
						 <thead>
						 	 <tr>
								<th>部门</th>
								<th>人数</th>
							 </tr>
						 </thead>
						 <tbody>
						 	 <tr bindonce ng-repeat="o in lineOption">
						 	 	<td bo-text="o.name"></td>
						 	 	<td bo-text="o.value"></td>
						 	 </tr>
						 </tbody>
					</table>
	            </div>
	         
	        </div><!-- end col-->
	
	       <div class="col-md-6">
	               <div class="card-boxs" style="height: 400px!important">
	               
	
	                <h4 class="header-title m-t-0 m-b-30">年龄统计</h4>
					
	                   <ng-echarts class="col-md-12 echarts" ec-config="lineConfig" ec-option="lineOptionsage" ></ng-echarts>
	
	            </div>
	         
	        </div><!-- end col-->
			<div class="col-md-6">
	               <div class="card-boxs" style="height: 400px!important">
	               
	
	                <h4 class="header-title m-t-0 m-b-30">岗位年限统计</h4>
					
	                   <ng-echarts class="col-md-12 echarts" ec-config="lineConfig" ec-option="lineOptionsposition" ></ng-echarts>
	
	            </div>
	         
	        </div><!-- end col-->
	        <div class="col-md-6">
	               <div class="card-boxs" style="height: 400px!important">
	               
	
	                <h4 class="header-title m-t-0 m-b-30">在职年限统计</h4>
					
	                   <ng-echarts class="col-md-12 echarts" ec-config="lineConfig" ec-option="lineOptionsjob" ></ng-echarts>
	
	            </div>
	         
	        </div><!-- end col-->

    </div>
            
           
          </div>
        </div>
         
      </div>
    </div>
 </div>